package com.changgou.goods.dao;

import com.changgou.goods.pojo.Template;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

public interface TemplateMapper extends Mapper<Template> {

    @Update("update tb_template set spec_num = spec_num + 1 where id = #{templateId}")
    void myUpdate(Integer templateId);
}
